const { request } = require('./request.js');


module.exports={
  //商品分类接口，张三
  goodsCate: () => {

    return request('shop/goods/category/all', 'GET', '', true)

  },
  //商品详情接口,李四
  getDetail: (id) => {

    return request('shop/goods/detail', 'GET', { id: id }, true)
  },
}